import os


os.popen("gnome-terminal -e 'bash -c \"cd /usr/local/MATLAB/R2018a/bin && sudo ./matlab; exec bash\"'")